import request from '@/request'

export const findProvinces = (data) => {
  return request.post('/province/list', {
    ...data,
    headers: {
      'Content-Type': 'application/json'
    }
  })
}

export const findCityByParentId = (parentId) => {
  return request.post('/city/search/parentId', { parentId })
}
